package com.yuzhi.common.core.domain.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 部门
 *
 * @author sunshine
 */

@Data
public class DeptDTO implements Serializable {

    /**
     * 部门ID
     */
    private String deptId;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 负责人
     */
    private String leader;

    public DeptDTO() {
    }

    public DeptDTO(String deptId, String deptName) {
        this.deptId = deptId;
        this.deptName = deptName;
    }

    public DeptDTO(String deptId, String deptName, String leader) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.leader = leader;
    }
}
